package sk.uniza.fri.cerviix.client.game;

public class Player
{
	private int id;
	private String name;
	private int score;
	
	private boolean alive;
	
	public Player(int id)
	{
		this.id = id;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	
	public void setScore(int score)
	{
		this.score = score;
	}
	
	public int getId()
	{
		return id;
	}
	
	public String getName()
	{
		return name;
	}
	
	public int getScore()
	{
		return score;
	}
	
	public void died()
	{
		alive = false;
	}
	
	public void reset()
	{
		alive = true;
	}
	
	public boolean isAlive()
	{
		return alive;
	}
}
